package com.freestyle.seatabusiness.account.service;

import com.freestyle.common.ResponseEntity;
import com.freestyle.seatabusiness.api.service.SecondApi;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Service;

/**
 * Created by rocklee on 2021/12/21 9:14
 */
@DubboService
public class SecondServiceImp implements SecondApi {
  @Override
  public String sayHello(String name) {
    return "Hello,"+name;
  }

  @Override
  public ResponseEntity<String> testP(String who) {
    return ResponseEntity.fromResult(0,who);
  }
}
